package edu.spec.wfl.week08.class2.book.unit4.two;

public class Test
{
    public static void main(String[] args)
    {
        Feeder feeder=new Feeder();
        Animal Animal=new Dog();
        Food food=new Bone("Bone.");
        feeder.feed(Animal,food);

        Animal=new Cat();
        food=new Fish("Fish.");
        feeder.feed(Animal,food);
    }
}
